package com.bookcode.service.impl;
import com.bookcode.dao.StudentDao;
import com.bookcode.entity.Student;
import com.bookcode.service.StudentService;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
@Service("studentService")
public class StudentServiceImpl implements StudentService {
    @Resource
    private StudentDao studentDao;
    @Override
    public void add(Student student) {
        studentDao.save(student);
    }
}
